home *** CD-ROM | disk | FTP | other *** search
- STATUS
-
- Lists information about Shell processes.
-
- Format
-
- STATUS [<process>] [FULL] [TCB] [CLI | ALL] [COM | COMMAND <command>]
-
- Template
-
- PROCESS/N,FULL/S,TCB/S,CLI=ALL/S,COM=COMMAND/K
-
- Location
-
- C:
-
- STATUS without any arguments lists the numbers of the current Shell processes
- and the program or command running in each. The <process> argument specifies
- a process number, limiting STATUS to giving information about that process
- only.
-
- For information on the stack size, global vector size, priority, and the
- current command for each process, use the FULL keyword. The TCB keyword is
- similar, omitting the command information. The CLI=ALL keyword gives only the
- command information.
-
- STATUS searches for a command when you use the COMMAND option. STATUS scans
- the Shell list, looking for the specified <command>. If the command is found,
- the Shell's process number is output, and the condition flag is set to 0.
- Otherwise, the flag is set to 5 (WARN).
-
- Example 1:
-
- 1> STATUS 1
- Process 1: Loaded as command: status
-
- Example 2:
-
- 1> STATUS 1 FULL
- Process 1: stk 4000, gv 150, pri 0 Loaded as command: status
-
- Example 3:
-
- 1> STATUS >RAM:Xyz COMMAND=COPY
- 1> BREAK <RAM:Xyz >NIL: ?
-
- sends a break to the process executing COPY.
-